/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package util.jQueryForm.Dialog;

import java.util.Map;

/**
 *
 * @author nchanwut
 */
public class jQueryFormDialog {
    private String id;
    private Map<String, String> mapDialog;

    public String getId() {
        return id;
    }

    private void setId(String id) {
        this.id = id;
    }

    public Map<String, String> getMapDialog() {
        return mapDialog;
    }

    private void setMapDialog(jQueryFormDialogOption objDialogOption) {
        this.mapDialog = objDialogOption.getMapDialog();
    }

    /*
     * Bind Defalut Dialog parameter
     * @param id : id is '#selector' of dialog
     * @param objDialogOption : value from jQueryFormDialogOption
     */
    public jQueryFormDialog(String id, jQueryFormDialogOption objDialogOption) {
        this.setId(id);
        this.setMapDialog(objDialogOption);
    }
}
